<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="../css/uppy.css">
  <title>UPPY.JS</title>
</head>

<body>
  <div class="UppyDragDrop"></div>
</body>
<script src="../js/uppy.js"></script>
<script>
  var uppy = Uppy.Core()
  uppy.use(Uppy.DragDrop, {
    target: '.UppyDragDrop'
  })
  uppy.use(Uppy.Tus, {
    endpoint: 'http://www.daguanjia.com/api/user/image/qiniutest'
  })
  uppy.run()
</script>

</html>